/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const examRouter = {
  path: '/exam',
  component: Layout,
  redirect: '/exam/question',
  name: 'Exam',
  meta: {
    title: '考试管理',
    icon: 'form'
  },
  children: [
    {
      path: '/exam/question',
      component: () => import('@/views/exam/question'),
      name: 'Question',
      meta: {
        title: '题库管理',
        icon: 'zip'
      }
    },
    {
      path: '/exam/testPaper',
      component: () => import('@/views/exam/testPaper'),
      name: 'TestPaper',
      meta: {
        title: '试卷管理',
        icon: 'documentation'
      }
    }
  ]
}

export default examRouter
